package thread.zjitc.net.lib.syanchronized;

/**
 * @author 朱志文
 * @data 2019/11/16 0016
 */
public class MySyssnchroizedTest {
    public static void main(String[] args) {
        MySysnchroizedThread mySysnchroizedThread = new MySysnchroizedThread();
        SysnchroizedThread sysnchroizedThread=new SysnchroizedThread(mySysnchroizedThread,1);
        sysnchroizedThread.start();
        SysnchroizedThread sysnchroizedThread2=new SysnchroizedThread(mySysnchroizedThread,2);
        sysnchroizedThread2.start();
    }
}
